/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package interface1;

import javax.swing.JButton;
import javax.swing.JRadioButton;

/**
 *
 * @author Kdc
 */
public class telaSelecionarLog extends javax.swing.JFrame {

    /**
     * Creates new form telaSelecionarLog
     */
    telaMenuPrincipal menu;
    public telaSelecionarLog(telaMenuPrincipal pMenu) {
        
        menu = pMenu;
        initComponents();
        this.setVisible(true);
        this.setTitle("Log");
    }

    public JButton getBtnSair() {
        return btnSair;
    }

    public void setBtnSair(JButton btnSair) {
        this.btnSair = btnSair;
    }

    public JRadioButton getRadioLogHTML() {
        return radioLogHTML;
    }

    public void setRadioLogHTML(JRadioButton radioLogHTML) {
        this.radioLogHTML = radioLogHTML;
    }

    public JRadioButton getRadioLogTXT() {
        return radioLogTXT;
    }

    public void setRadioLogTXT(JRadioButton radioLogTXT) {
        this.radioLogTXT = radioLogTXT;
    }
    
    

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        GrupoLog = new javax.swing.ButtonGroup();
        btnSair = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();
        radioLogHTML = new javax.swing.JRadioButton();
        radioLogTXT = new javax.swing.JRadioButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        btnSair.setText("Salvar");
        btnSair.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSairActionPerformed(evt);
            }
        });

        jLabel1.setText("Selecione o Tipo de Log Desejado:");

        GrupoLog.add(radioLogHTML);
        radioLogHTML.setText("Log HTML");

        GrupoLog.add(radioLogTXT);
        radioLogTXT.setText("Log TXT");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(btnSair)
                .addContainerGap())
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(radioLogTXT)
                    .addComponent(radioLogHTML)
                    .addComponent(jLabel1))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(radioLogHTML)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(radioLogTXT)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(btnSair)
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void btnSairActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSairActionPerformed

    }//GEN-LAST:event_btnSairActionPerformed

    /**
     * @param args the command line arguments
     */

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.ButtonGroup GrupoLog;
    private javax.swing.JButton btnSair;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JRadioButton radioLogHTML;
    private javax.swing.JRadioButton radioLogTXT;
    // End of variables declaration//GEN-END:variables
}
